package com.service.pojo;

import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "t_user")
public class User implements Serializable {
    private static final long serialVersionUID = -8964025673621998276L;

    private Integer id;       // 编号
    private String userName;  // 账号
    private String password;  // 密码
    private String nickName;  // 昵称
    private Integer gender;   // 性别
    private String avatar;    // 头像地址
    private String email;     // 邮箱地址
    private String phone;     // 电话
    private Integer roleCode;  // 用户角色
    private String version;    // 版本
    private String sign;      // 签名

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(Integer roleCode) {
        this.roleCode = roleCode;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }
}
